package chapter4.No4_1_使用reentrantLock类.demo12;

/**
 * *：方法getHoldCount()，getQueueLength()和getWaitQueueLength()的测试
 *
 *   getHoldCount():查询保持此锁定的个数，也就是调用lock()方法的次数
 * Created by Administrator on 2016/11/21.
 */
public class Main {
    public static void main(String[] args) {
        ServiceClass sc = new ServiceClass();
        sc.methodA();
    }
}
